<?php


namespace app\index\controller;


class ResponseTest
{

    public function test_response()
    {
        $data = ['name' => '测试response', 'msg' => '成功'];
        return response()->data('测试response');
    }

    public function test_download()
    {
        return download('https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1dkVri.img');
    }
}